Version: 2.1.0+1
This guide provides instructions, pre-compiled binaries and FOTA files that can be used to update firmware of SmartShot camera evaluation boards.
Binaries can be found in: Boards/<board_name>/Binaries/
folder.
.fota
binary is used to be flash via FOTA update describe bellow. _flash_image.hex
binary is used to be flash via JLink Debugger via JTAG interface.
Updating firmware version to v2.1.0 requires to update both ISP Firmware and RSL10 Firmware as described in Updating firmware using JLink Debugger section!
Board Name | |
---|---|
SECO-RSL10-CAM-GEVB | |
SECO-RSL10-CAM-COLOR-GEVK |
To allow for FOTA functionality in the application the application is divided into multiple blocks that need to be loaded into device Flash memory. These components are shown in Figure 1. and consist of:
Bootloader
Bootloader is the permanent part of the application that resides at the start of Flash memory and loads application images if available. Pre-compiled bootloader binaries for supported platforms are located in the /Boards/<Board_Name>/Binaries/
.
FOTA Application Image
This binary image merges together pre-compiled fota.bin
binary with application binary and adds signatures or checksums of the binaries that are used to check image integrity during FOTA firmware update.
FOTA BLE Stack binary
This binary contains shared parts of BLE stack and DFU application that is used during firmware update process.
Application binary
This binary contains application itself and it is dependent on BLE stack functions from FOTA image.
Note:
Pre-compiled FLASH images are available in the /Boards/<Board_Name>/Binaries/
.
The Firmware over the Air (FOTA) allows wireless firmware update.
Two methods are available for performing of FOTA updates on FOTA enabled devices:
Both methods are described in RSL10 Firmware Over-The-Air User’s Guide from RSL10 Documentation Package in section 4.4 and section 9.
The boards can be switched into FOTA mode by pressing and holding the on-board push button PB1 during normal operation or directly from RSL10 FOTA Mobile Application via DFU Service. Switch to FOTA mode is indicated by 1 second long flash of LED.
Board | Firmware Version | FOTA Mode Entry Methods |
---|---|---|
SECO-RSL10-CAM-COLOR-GEVK | >= v2.1.0 | Button and directly from FOTA |
SECO-RSL10-CAM-GEVB | >= v2.0.0 | Button and directly from FOTA |
SECO-RSL10-CAM-GEVB | < v2.0.0 | Button only |
Updating firmware via JLink Debugger allows to program both bootloader and FOTA with application image. These are already merged together as single .hex
file ready to be programmed via JLink Debugger.
For more detailed manual please refer to RSL10 Stand-Alone Flash Loader Manual from RSL10 Software Utility Apps.
Open /RSL10_StandAlone_Flash_Loader/FlashLoader.exe
and select /Boards/<board_name>/Binaries/<board_example_name>_isp_updater.hex
as file to flash.
Press Program button to flash.
Wait for flashing process to complete. (If there is any failure during flashing retry again by pressing Program button)
Press Done to close the Flash Loader Progress dialog window.
Press Reset Button (PB_RST1) to restart the board.
Verify that Green LED (D1) is turned on constantly with low brightness.
Open /ISP_Firmware/SFWriteTool_AllIC_v30033.exe
.
Verify that PC Camera is present in the Devices list. Flash type is UNDEFINED
.
Press Download button.
Wait for flash process to complete.
Verity that progress bar shows Success. Verify that Device Cur >> New fields show the same version information on both sides.
Continue to flash RSL10 Firmware Flashing the Smartshot Board ISP - Image Signal Processor
Open /RSL10_StandAlone_Flash_Loader/FlashLoader.exe
and select /Boards/<board_name>/Binaries/<board_example_name>_flash_image.hex
as file to flash.
Press Program button.
Wait for flashing process to finish.
Press Done to close the Flash Loader Progress dialog window.
Verify that Green LED (D1) blinks periodically 4 times per seconds.
Disconnect 10-pin JTAG debugging connector from board.
Disconnect USB cable from board.
Done.
( ) ( ) )
) ( ) ( (
( ) ( ) )
_____________
<_____________> ___
| |/ _ \
| | | |
| |_| |
___| |\___/
/ \___________/ \
\_____________________/